<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String contextPath = request.getContextPath();
%>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/query-form.css">
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
	<script type='text/javascript' src='<%=contextPath%>/resources/js/echarts.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/analysis.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/analysis/mixCityCounty.js'></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/ExportExcelDlg.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/load/loadIndicatorFromsType.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/views/departIndicatorSelect.js"></script>

</head>
<body>
    <div>
        <label class="ml5" style="color: red"> 报表类型:
            <select class="easyui-checkbox" name="formid"  id="formid" style="width:200px;">
                <c:forEach var="formOption" items="${formes}">
                    <option value="${formOption.id}">${formOption.name}</option>
                </c:forEach>
            </select>
        </label>

        <label for="annualAnalysis_citySelect" class="pl20 pr10">地市：</label>
        <input name="annualAnalysis_citySelect" id="annualAnalysis_citySelect" class="w80">
<%--        <label for="ttDepartSelect" class="pl20 pr10">地市成员单位：</label>--%>
<%--        <input name="ttDepartSelect" id="ttDepartSelect" class="w200">--%>

        <label>  指标领域:</label>
        <select id="indicatorTypeSelect" name="indicatorTypeSelect" class="easyui-combobox" style="width: 200px;"></select>

        <label> 年份:</label>
        <select class="easyui-combobox" name="year"  id="year" style="width: 80px;">
            <c:forEach var="yearOption" items="${years}">
                <option value="${yearOption}">${yearOption}</option>
            </c:forEach>
        </select>

        <label class="spanstyle">&nbsp;&nbsp;请输入指标名：<input class="easyui-textbox" style="width: 120px;" type="text" name="iname" id="iname" /></label>
        <div onclick="loadIndicator(1,30);"  class="easyui-linkbutton" iconCls="icon-search">查询指标</div>
    </div>

    <table class="easyui-panel" >
        <div title="指标查询">
            <table id="ttIndicator" rownumbers="true" ></table>
        </div>
    </table>

    <table class="easyui-panel" >
        <div title="指标列表">
            <table id="ttIndicatorSelect" rownumbers="true" ></table>
        </div>
        <div><div onclick="query(1,300);"  class="easyui-linkbutton" iconCls="icon-search">查询选中</div></div>
    </table>

    <div id="chartpanel" class="easyui-panel" data-options="collapsible:true,onCollapse:show.photoshow,onExpand:show.chartshow,collapsed:true" style="width:auto;height:auto;padding:10px;" title="图形列表">
        <div id="chart" ></div>
    </div>

    <div id="tablepanel" class="easyui-panel" style="width:auto;height:auto;" title="报表列表">
	    <table id="tt" style="width:auto;height:auto;" rownumbers="true" ></table>
        <div><a class="easyui-linkbutton" onclick="Save_Excel()" data-options="iconCls:'icon-excel'" title="导出excel">导出excel</a></div>
	</div>

</body>
</html>